package com.yztc.xiami_app.constant;

/**
 * Created by 周旭 on 2016/11/15.
 * "常量类"
 */

public class URLConstant {

    //--------------商品列表--------------------------
    //商品列表的Url地址,注意请求参数只有1~3有效
    public static final String URL_GOODS_LIST = "http://lr.secooimg.com/specialtopic_ku?currpage=1&pagesize=10&_=1479291874069";
    //商品列表的基本的Url地址
    public static final String URL_GOODS_BASE = "http://lr.secooimg.com/";
    //商品列表的Url地址的路径
    public static final String URL_GOODS_PATH = "specialtopic_ku";
    //商品列表的Url地址的请求参数
    public static final String  CURRPAGE = "currpage";
    public static final String  PAGESIZE = "pagesize";
    public static final String  UNDERLINE = "_";
    //分类界面title下的商品的网址
    public static final String URL_CLISSIFY_BASE ="http://m.ttcj.tv/";
    public static final String URL_CLISSIFY_PATH="xml/appcategoryjson.htm";

    //---------------商品详情-------------------------
    //商品的详情页面
    public static final String URL_GOODS_DETAIL = "http://android.secoo.com/appservice/query_goods.action?productId=13313646";
    //商品的详情页面的基本的Url地址
    public static final String URL_GOODS_DETAIL_BASE = "http://android.secoo.com/";
    //商品的详情页面的Url地址的路径
    public static final String URL_GOODS_DETAIL_PATH = "appservice/query_goods.action";
    //商品的详情页面的Url地址的请求参数
    public static final String PRODUCTID = "productId"; //商品id


    //模拟APP版本更新时访问服务器的apk的地址
   public static class VersionCode{
        //获取测试用的服务器版的版本号的Json串
        public static final String URL_VERSIN_CODE = "http://oh0vbg8a6.bkt.clouddn.com/versioncheck.json";
        public static final String URL_VERSION_BASE = "http://oh0vbg8a6.bkt.clouddn.com/";
        public static final String URL_VERSION_PATH = "versioncheck.json";
    }

}
